﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace DAL.Migrations
{
    public partial class cv : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "Shanginfor",
                columns: table => new
                {
                    ShanId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    ShanName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ShanBian = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ShanShi = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ShanRen = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ShanYong = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ShanShuo = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ShanStart = table.Column<int>(type: "int", nullable: false),
                    ShanDele = table.Column<int>(type: "int", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Shanginfor", x => x.ShanId);
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "Shanginfor");
        }
    }
}
